﻿using System.ComponentModel;
using System.Windows.Forms;
using HR60_PanelSoft.View.Base;

namespace HR60_PanelSoft.View.Controls
{
    public partial class TitleTextBox : BaseFormControl
    {
        public TitleTextBox()
        {
            InitializeComponent();

			txtValue.ValueChanged +=new System.EventHandler(this.valueChange);
        }

		[Browsable(true)]
		[Description("标题"), Category("String"), DefaultValue("标题")]
		public string Title
		{
			get
			{
				return lblTitle.Text;
			}
			set
			{
				lblTitle.Text = value;
			}
		}

		// 重写Value属性
		public override object Value
		{
			get
			{
				return txtValue.Value;
			}
			set
			{
				txtValue.Value = value;
			}
		}
	}
}
